package com.gdsdxy.bookshop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("书籍分类信息表")
@TableName(value = "category")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("分类ID")
    private Integer categoryid;
    @ApiModelProperty("书籍分类名称")
    private String categoryname;
    @ApiModelProperty("简介")
    private String introduce;
}
